<%@ page import="ghr.day0109.lottery.vo.Travel" %><%--
  Created by IntelliJ IDEA.
  User: Gong
  Date: 2023/1/9
  Time: 16:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    Travel travel = new Travel();
String name = request.getParameter("userName");
String phone = request.getParameter("phone");
travel.addUser(name,phone);


    request.getRequestDispatcher("index.jsp").forward(request,response);


%>
</body>
</html>
